package com.bulletelc.apollopre.interfaces.listener;

import android.content.DialogInterface;

/**
 * author: lhl
 * date  : 2017/11/04
 * desc  : dialog回调监听
 */

public interface MyDialogListener {

    /**
     * 确定
     * @param dialog
     * @param which
     */
    void onConfirm(DialogInterface dialog,int which);

    /**
     * 取消
     * @param dialog
     * @param which
     */
    void onCancel(DialogInterface dialog, int which);

    /**
     * 做别的事
     * @param dialog
     * @param which
     */
    void onNeutral(DialogInterface dialog, int which);
}
